# List parser

This output parser can be used when you want to return a list of comma-separated items.

import CodeBlock from "@theme/CodeBlock";
import Comma from "@examples/prompts/comma_list_parser_sequence.ts";

import IntegrationInstallTooltip from "@mdx_components/integration_install_tooltip.mdx";

<IntegrationInstallTooltip></IntegrationInstallTooltip>

```bash npm2yarn
npm install @langchain/openai
```

<CodeBlock language="typescript">{Comma}</CodeBlock>
